package cn.yanxiaohui.service.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 博客管理控制器
 * @author yanxh
 * 
 */
@Controller
@RequestMapping("/blog")
public class BlogController extends BaseController{
	
	/** 视图统一前缀 **/
	private final static String PREFIX = "blog/";
	
	@RequestMapping(value = "/index", method = RequestMethod.GET)
	public String index(ModelMap model) {
		return PREFIX + "index";
	}
}
